import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import { BrowserRouter as Router }  from 'react-router-dom'
import { Provider } from 'react-redux'
import store from './redux/store';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <ConfigProvider locale={zhCN}>
        <Router>
            <Provider store={store}>
                <App />
            </Provider>
        </Router>
    </ConfigProvider>
);
